package com.lagou.pojo;

import javax.sql.DataSource;
import java.util.HashMap;
import java.util.Map;

public class Configuration {
    //datasource对象
    private DataSource dataSource;

    //key:namespace.id
    private Map<String,MapStatement> statementMap = new HashMap<String,MapStatement>();

    public DataSource getDataSource() {
        return dataSource;
    }

    public void setDataSource(DataSource dataSource) {
        this.dataSource = dataSource;
    }

    public Map<String, MapStatement> getStatementMap() {
        return statementMap;
    }

    public void setStatementMap(Map<String, MapStatement> statementMap) {
        this.statementMap = statementMap;
    }
}
